﻿using BUGCOME.Model.Auth;
using BUGCOME.Model.Auth.dto;
using BUGCOME.Model.Logs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUGCOME.Service.Auth.IServices
{
    /// <summary>
    /// 用户在线时长服务接口
    /// </summary>
    public interface IUserOnlineLogService : IBaseService<UserOnlineLog>
    {
        /// <summary>
        /// 获取用户在线时长列表
        /// </summary>
        Task<PagedInfo<UserOnlineLogDto>> GetListAsync(UserOnlineLogQueryDto parm);
        /// <summary>
        /// 添加用户在线时长日志
        /// </summary>
        Task<UserOnlineLog> AddUserOnlineLogAsync(UserOnlineLog parm, OnlineUsers onlineUsers);
        /// <summary>
        /// 导出用户在线时长列表
        /// </summary>
        Task<PagedInfo<UserOnlineLogDto>> ExportListAsync(UserOnlineLogQueryDto parm);
    }
}
